import random


def generate_random_float(min_val, max_val):
    return random.uniform(min_val, max_val)